package com.sevattal.service.leaves.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.sevattal.service.leaves.entity.InOutWarehouseMainOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sevattal.service.leaves.entity.vo.InOutWarehouseMainOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  出入库主表 Mapper 接口
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Mapper
@Repository
public interface InOutWarehouseMainOrderMapper extends BaseMapper<InOutWarehouseMainOrder> {

    List<InOutWarehouseMainOrderVo> getInOutMainOrderList(@Param("offset") long offset,@Param("limit")long limit,
            @Param(Constants.WRAPPER) QueryWrapper<InOutWarehouseMainOrder> mainOrderQueryWrapper);
}
